namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_PUB_DEV_CAMERAS")]
    public partial class V_PUB_DEV_CAMERAS
    {
        [Key]
        [StringLength(40)]
        public string CAMERA_ID { get; set; }

        [StringLength(40)]
        public string TACHE_ID { get; set; }

        [StringLength(20)]
        public string TACHE_NAME { get; set; }

        [StringLength(20)]
        public string TACHE_CODE { get; set; }

        [StringLength(40)]
        public string NODE_ID { get; set; }

        [StringLength(50)]
        public string NODE_NAME { get; set; }

        public short? NODE_CODE { get; set; }

        [StringLength(50)]
        public string NAME { get; set; }

        public bool? BRAND { get; set; }

        public bool? TYPE { get; set; }

        [StringLength(40)]
        public string MEDIASERVER_ID { get; set; }

        [StringLength(40)]
        public string MEDIASERVER_NAME { get; set; }

        public short? CHANNEL { get; set; }

        [StringLength(50)]
        public string USERNAME { get; set; }

        [StringLength(50)]
        public string PASSWORD { get; set; }

        [StringLength(50)]
        public string IP { get; set; }

        public short? HTTP_PORT { get; set; }

        public short? RTSP_PORT { get; set; }

        public short? SERVER_PORT { get; set; }

        [StringLength(50)]
        public string WAN_IP { get; set; }

        public short? WAN_HTTP_PORT { get; set; }

        public short? WAN_RTSP_PORT { get; set; }

        public short? WAN_SERVER_PORT { get; set; }

        public bool? IS_GIS { get; set; }

        public bool? IS_VIEW { get; set; }

        public bool? IS_ACCESS_TIGER { get; set; }

        public bool? NET_STATUS { get; set; }

        public DateTime? NET_STATUS_TIME { get; set; }
    }
}
